<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.util.List"%>
<%@page import="com.boc.image.web.Products"%>
<%@page import="com.boc.image.sqlmap.domain.TImgZhlx"%>
<%@page import="com.boc.image.sqlmap.domain.TImgCpjg"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link type="text/css" href="css/play.css" rel="stylesheet"/>
<script type="text/javascript" src="script/play.js"></script>
<script type="text/javascript" src="../../js/public.js"></script>
</head>
<body>
<div class="frame_01">
	<div class="frame_01_left">升级图片空间</div>
	<div class="frame_01_right">
		<a href="/index.html" target="_top">首页</a>&nbsp;》
		<a href="/core" target="_top">管理中心</a>&nbsp;》
		<font color="#000">升级图片空间</font>
	</div>
</div>
<div class="frame_02"></div>
<div class="frame_03" style="overflow:hidden;">
	<%
		List zhlx = new Products ().getZhlx();
		int size0 = zhlx.size();
		for (int i = 0 ; i < size0 ; i ++) {
			TImgZhlx bean0 = (TImgZhlx) zhlx.get(i);
			%>
			<div class="product">
				<div class="product_up">
					<div class="product_up_left">
						<img src="../../images/product.jpg" width="100%" height="100%">
					</div>
					<div class="product_up_right">
						<table width="230" border="0" cellspacing="0" style="color:blue">
						  <tr>
							<td style="color:red; font-weight:bold; font-size:14px; height:20px;" colspan="3" align="left">
								<%=bean0.getcName() %>
							</td>
						  </tr>
						  <tr>
							<td style="height:18px;" colspan="3" align="left">总空间：<%=bean0.getnKj()/1024 %>MB</td>
						  </tr>
			<%
			List products = new Products ().getProducts(bean0.getcCode());
			int size1 = products.size();
			for (int j = 0 ; j < size1 ; j ++) {
				TImgCpjg bean1 = (TImgCpjg) products.get(j);
				%>
				<tr>
					<td height="18" width="70" align="left">
					<input type="checkbox" id="product_<%=bean1.getnBh() %>" value="<%=bean1.getnBh()%>" p1="<%=bean0.getcName() %>" 
					p2="<%=bean1.getnJg() %>" p3="<%=bean0.getnKj() %>" p4="<%=bean1.getnZskj()%>" 
					p5="<%=bean1.getnZssj() %>" p6="<%=bean1.getcBm() %>" p7="<%=bean1.getnSj() %>" onClick="chkThis(this)">
					&nbsp;&nbsp;<label for="product_<%=bean1.getnBh()%>"><%=bean1.getnJg()%>&nbsp;元</label>
					</td>
					<td height="18" width="50" align="left"><%=bean1.getcBm() %></td>
					<td height="18" width="110" align="left">
						<%if(bean1.getnZskj() != 0) {%>
							<font color=red>(买<%=bean1.getcBm() %> 送 <%=bean1.getnZskj()%>MB)</font>
						<%}%>
					</td>
				  </tr>
				<%
			}
			%>
			 </table>
					</div>
				</div>
				<div class="product_down"><%=bean0.getcBz()==null?"": bean0.getcBz()%></div>
			</div>
			<%
		}
	%>
	
</div>
<div class="frame_03" style="height:178px;">
	<table width="755" height="178" border="0" cellspacing="0">
	  <tr>
		<td align="center" valign="middle" id="msgDisplay" style="display:none;">
			<table width="700" height="178" border="0" cellspacing="0">
			  <tr>
				<td width="210" rowspan="7">&nbsp;</td>
				<td height="28" colspan="2" align="left" style="color:red; border-bottom:1px double #FF0000">提示：你选择的产品信息如下：</td>
				<td width="210" rowspan="7">&nbsp;</td>
			  </tr>
			  <tr>
				<td width="110" height="26" align="right" style="color:blue">产品用户：</td>
				<td width="200" align="center" id="name0" style="color:#FF0000; font-weight:bold">&nbsp;</td>
			  </tr>
			  <tr>
				<td width="110" height="26" align="right" style="color:blue">使用总空间：</td>
				<td width="200" align="center" id="name1" style="color:#FF0000;">&nbsp;</td>
			  </tr>
			  <tr>
				<td width="110" height="26" align="right" style="color:blue">产品名称：</td>
				<td width="200" align="center" id="name2" style="color:#FF0000;">&nbsp;</td>
			  </tr>
			  <tr>
				<td width="110" height="26" align="right" style="color:blue">使用时间：</td>
				<td width="200" align="center" id="name3" style="color:#FF0000;">&nbsp;</td>
			  </tr>
			  <tr>
				<td width="110" height="26" align="right" style="color:blue; border-bottom:1px dashed #FF0000">应付金额：</td>
				<td width="200" align="center" id="name4" style="color:#FF0000; border-bottom:1px dashed #FF0000">&nbsp;</td>
			  </tr>
		  </table>

		</td>
	  </tr>
  </table>

</div>
<div class="frame_03" style="height:50px;">
	<table width="755" height="50" border="0" cellspacing="0">
	  <tr>
		<td align="center" valign="middle">
			<img src="../../images/next.gif" width="95" height="27" onMouseOver="this.src='../../images/next1.gif';this.style.cursor='pointer';" onMouseOut="this.src='../../images/next.gif';" onClick="btnNext()" />
		</td>
	  </tr>
	</table>
</div>
<div class="frame_04"></div>

</body>
</html>